﻿<%@ Page Title="" Language="C#" MasterPageFile="~/HomePage.master" AutoEventWireup="true"
    CodeFile="Chi-Tiet-Nhom-Dao-Tao.aspx.cs" Inherits="Chi_Tiet_Nhom_Dao_Tao" %>

<%@ Register Assembly="PagerControl" Namespace="CutePager" TagPrefix="cc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
     <title>
        <asp:Literal ID="litTieuDe" runat="server"></asp:Literal>
        -
        <%= Common.tieude %></title>
    <meta content='<%= Constants.DESCRIPTION_CHONWEB %>' name='description' />
    <link href='<%= ResolveUrl("CSS/style-divu.css") %>' rel="stylesheet" type="text/css" />
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <div>
        <div class="benTrai" style="z-index: 9;">
            <div>
                <dx:TimKiemLeft ID="TimKiemLeft" runat="server" />
            </div>
            <div style="padding-top: 20px;">
                &nbsp</div>
            <div class="bordertrai" style="height: auto;">
                <dx:BaiVietLeft ID="BaiVietLeft" runat="server" />
            </div>
            <div style="padding-top: 20px;">
                &nbsp</div>
            <div class="bordertrai" style="height: auto;">
                <dx:MangXaHoi ID="MangXaHoi" runat="server" />
            </div>
            <div style="padding-top: 20px;">
                &nbsp</div>
            <div class="bordertrai" style="height: auto;">
                <dx:QuangCaoDaoTaoLeft ID="QuangCaoDaoTaoLeft" runat="server" EnableViewState="false" />
            </div>
        </div>
        <div style="float: right">
            <div class="ngaythang_gioithieu">
                <asp:Label ID="lblNgayThang" runat="server"></asp:Label>
            </div>
            <div style="float: left;">
            </div>
        </div>
        <div class="benPhai" style="z-index: 9;">
            <div style="padding-top: 5px;">
                &nbsp</div>
            <asp:UpdatePanel runat="server" ID="updatePanel1" UpdateMode="Conditional">
                <ContentTemplate>
                    <div class="linkchuyenmucdetail">
                        <asp:Image ID="imagearrow" runat="server" ImageUrl="~/Images/dotnetgroup/gohome.png"
                            Width="16px" EnableViewState="false" />
                        <asp:HyperLink ID="linkHome" runat="server" EnableViewState="false" NavigateUrl="~/"
                            CssClass="linkhomedetail">Trang Chủ</asp:HyperLink>
                        »
                        <asp:HyperLink ID="linkTinTuc" runat="server" EnableViewState="false" NavigateUrl="~/Dao-Tao.aspx"
                            CssClass="linkhomedetail">Đào Tạo</asp:HyperLink>
                        »
                        <asp:HyperLink ID="linkloaitin" runat="server" EnableViewState="false" CssClass="linkhomedetail">
                            <asp:Label ID="lblLoaiTin" runat="server"></asp:Label></asp:HyperLink>
                    </div>
                    <asp:DataList runat="server" ID="dtlDsTinTuc" RepeatDirection="Vertical" RepeatLayout="Flow">
                        <ItemTemplate>
                            <div class="borderphai">
                                <div class="tieude-tintuc">
                                    <h2 style="font-weight: bold;">
                                        <asp:HyperLink runat="server" ID="linkTieude" NavigateUrl='<%# "~/DaoTao/"+ GetTieuDe(Eval("TenKhoaHoc")) + "_"  + Eval("Id") + ".aspx" %>'
                                            EnableViewState="false">
                            <%# Eval("TenKhoaHoc")%> </asp:HyperLink>
                                    </h2>
                                    <p>
                                        <span>Ngày đăng: </span><b>
                                                <%# Convert.ToDateTime(Eval("NgayCapNhat")).ToString("dd/MM/yyyy")%></b>
                                    </p>
                                </div>
                                <div class="body-tintuc">
                                    <div class="logo-tintuc">
                                        <img src='<%# ResolveUrl("Upload/AnhDaiDien/" + Eval("AnhDaiDien")) %>' alt='<%# Eval("TenKhoaHoc") %>'
                                            style="width:220px; height:263px; padding-right: 20px;" />
                                    </div>
                                    <div class="content-tintuc" style="float: right; width:63%">
                                        <%# formatString(Server.HtmlDecode(Eval("TomTat").ToString()), 450)%>
                                    </div>
                                </div>
                                <div class="xemtiep-tintuc">
                                    <asp:HyperLink runat="server" ID="linkXemtiep" EnableViewState="false" NavigateUrl='<%# "~/DaoTao/" + GetTieuDe(Eval("TenKhoaHoc")) +  "_" + Eval("Id") + ".aspx" %>'>Xem tiếp</asp:HyperLink>
                                </div>
                                <div class="thong-tin-tintuc">
                                </div>
                            </div>
                        </ItemTemplate>
                    </asp:DataList>
                    <div class="phan-trang">
                        <cc1:Pager ID="Pager1" runat="server" PreviousClause="<img src='../Images/prevBtn.gif' alt='previous' />"
                            NextClause="<img src='../Images/nextBtn.gif' alt='next' />" LastClause="Cuối"
                            FirstClause="Đầu" PageClause="<html><b>Trang </b></html>" ShowResultClause="Hiển thị từ"
                            ShowingResultClause="Đang hiển thị từ" BackToPageClause="Về trang" NextToPageClause="Đến trang"
                            OfClause=" / " PageSize="5" OnCommand="Pager1_Command" ForeColor="#CC0000" Font-Bold="True"
                            EnableViewState="false" />
                    </div>
                </ContentTemplate>
            </asp:UpdatePanel>
        </div>
    </div>
    <div class="clear">
    </div>
    <br />
    <br />
    <div class="benTrai" style="width: 100%">
        <div class="bordertrai" style="height: auto;">
            <dx:MauWebBottom ID="MauWebBottom" runat="server" />
        </div>
    </div>
</asp:Content>
